home *** CD-ROM | disk | FTP | other *** search
- If you want to terminate AUTOEXEC.BAT file (or any other
- batch file) issue Ctrl C as explained in INTRO.
- HOW TO CREATE AN AUTOEXEC.BAT FILE
- If, for example, you wanted to automatically load GWBASIC
- and run a directory program (called BASPGMS.) EVERY time
- time you started DOS(booted),here is how you would create
- the AUTOEXEC.BAT file for that purpose:
- 1. NOTE:if your CURRENT directory is >NOT the ROOT direc-
- tory go back to the root directory using CHDIR(CD\) cmnd.
- AUTOEXEC.BAT MUST always be in the ROOT directory so that
- DOS can find it when you start your system.
- 2. Type:
- COPY CON: AUTOEXEC.BAT
- This statement tells DOS to copy the information you en-
- ter through the keyboard (CONsole) to AUTOEXEC.BAT!
- AUTOEXEC.BAT file.
- 3. Now type:
- GWBASIC BASPGMS
- This statement goes into the >>>AUYTOEXECBAT file to tell
- DOS to load GWBASIC and run the directory program.
- 4. Press the CTRL and Z keys BOTH at once, then release &
- hit RETURN. YOU'VE DONE IT! PERHAPS YOUR FIRST "BATCHING"
- --& BASPGMS will now run automatically whenever you boot!